Making entering text work in Firefox