requested revisions, switching to dubs, and jshint declaration