create clock.js

js for form field "Time"