everything seems to work. all unit tests passing

added "npm test" script which runs jshint and nodeunit