added simple unit test
fixed some jshint errors
fixed more jshint
updated some dependencies
fixed jshint errors