fix jshint warning and update build