jshint and refactor accountedit