added more info in the readme plus fixed jshint warnings