Fix for continous run in karma