check weichat user-agent
add keycode
fixed bugs and add keydown event for enter key