Minor js fixes, missing ; at end of lines