Fixed some jshint issues

Fixed some minor jshint issues.