some jslint error cleanup