js: add phantomjs and jshint