JS Lint fixes