fix(js): fix some jshint errors on generated js