jquery change time to decimal