Move events handlers into live.js, more hacking.