fixed up js after linter-jscs