Updated phantom.coffee to match with current compiled version of phantom.js (close HTTP server on error)
Added PhantomJS page methods for frame switching