fixed some jshint errors
fixed some jshint errors