prevent js false feature running when remote testing