grammar checks, semi colons missing in javascript