Update phantomtest.js

The docs needed updating