Added jquery case statement to type html, trap backspace, render html