added timer script and demo html

Change-Id: Ic74f4ab0bd1f98efe979ac2483ed607345dbb050