fixed jshint, lint issues & upgraded packages. closes #26