Style: wrapped too long line
Style: Added missing semicolons.

Added semicolons to the end of all statements where it was missing.
Style: fixed spacing, added gjslint rules

Created tools/gjslint.sh that can be used to automatically check for
conformance with Google coding style.

Fixed spacing inconsistencies.

Added missing type info to JsDoc comments in ScriptManager.js