alarm widget with html5 canvas