jshint fixes, update build