js chart generator with phantomjs/express