fix npm karma dependency