Mike: added PhantomJS module and testing