JavaScript style guide edits