Revised style to conform to the Google JavaScript style guide