https://tutorial.eyehunts.com/js/how-to-detect-backspace-key-in-javascript-example-code/
How to detect backspace key in JavaScript | Example code