add origin to phantomjs URL