fixed bug in rtc.io that was preventing karma tests from running