Switched over to PhantomJS for karma unit testing