Testing phase - fixed javascript bug in phone-to-sem phase