minimal npm installer for phantomjs and slimerjs with no external dependencies