Use Chrome for local unit tests and PhantomJS for Travis.CI