Fix global leak.
Remove trailing whitespace.
Fix parseInt.
Add comment.
Fix extra `var`.
Remove ; from function declarations.
Use a tab.
Merge pull request #1 from spanishdict/js-best-practices

Js best practices