replace live() with on() to prepare for update jQuery1.9
ajax create and update time_record