now passing user agent through phantomjs. Fixes #221