updated libs, and fixed jshint issues