Create clock.js

A compiled version