evaluate js in a phantomjs context.