Add in missing semicolons to the javascript code