Timer created in javascript.