fix missing states + jshints