complying to the js style guide.