comments updated
javascript mode is enabled
javascript lint refactoring