Added semicolons to missing js statements