make label for log wider
refactor key_events
add tips.js to show tips