Work-around to avoid "Unsafe JavaScript attempt to access frame" warning in PhantomJS 1.9.8.
See: https://github.com/ariya/phantomjs/issues/12697