Fixing backspace behavior on firefox