use phantomjs node module. closes #9