Update timepicker.js

Code for time picker v1