Updated karma config, added CI options. Modified script entry.