Fix small issues raise by jslint.