Code Cleanup

Code cleaning with JSLint