Move all delete js to its own file