added js code to address browser backspace issue