You're right that it isn't itch.io.
Further inspection reveals this is a Firefox only issue where backspace is, for some ungodly reason, set to automatically go back a page.
Calling 'preventDefault' solves the problem and allowing ESC to go back a page works perfectly. Thank you.