Fixed some jslint identified issues.