As reported by nani in the course of his autociv mod development to me on October 12th, it is currently not possible to delete JS handlers once they were assigned (since introduction in rP666).
This is most crucial for onTick handlers that are called every frame. rP23080/D2380 and rP23093/D2390 added TODOs for this aspect.
This diff fixes that.