Linting and formatting of the js codes

I don't think linter forces it. fixjsstyle has removed them.