Resolved jslint warnings