some minor updates
fix bug in time_record#new
ajax delete time_record