are the ; after functions necessary in JS-syntax?