backspace blocking in js