Fixed suggestions from jslint.