Applied jslint fix