fixed: jshint errors