Added phantomjs and browser tests