remove js logic