jshint fixes

Fixes jshint errors.