address jslint warnings