Linting

Please JSLint for better readability, etc.