Fixed jshint errors and upgraded dependecies to latest version