removing 'wait for ajax' in js testing