refs #408 - added support for PhantomJS onCallback (window.callPhantom)
Merge pull request #409 from nabriski/callback

refs #408 - added support for PhantomJS onCallback (window.callPhantom)