remove js condition