Group similar code for readability.
Remove language-irrelevant dependency comment.
Remove newlines.
jsFormat for consistency.
Add missing semi-colons.
Group related code and space for readability.
Use preferrable array literal notation.
Use '===' to compare with 0.
Fix missing parenthesis, however array literal notation is preferrable anyway.
Use '===' to compare with 0.
jsFormat for consistency.
Move semi-colon in front of comment.
Adjust spacing for readability.
Move curly braces for consistency.