adding phantomjs plugin in karma config, click doesnt seem to be defined