Remove js used on events