For security issue, remove paste button. Add a check to fix bug(tigger keypress and keydown) in firefox.