fixed bad fn name in karma plugin