trying to adhere to jslint