Use phantomjs in karma + add EE dependencies