cleaning changOn for js file