Added missing semicolons to JS file