Separate file for unified variables
+= on body's innerHTML unbinds all events

Always use the temporary container
Cursor doesn't need to be a pointer
Other way around