Create timer.js

first commit of timer-