adhering to jslint