fix part of jslint errors.