Squashed commit of the following:

commit bf199215b44ef625e0ec768d4927aba08652c44e
Author: Russell Todd <russell.todd@northpoint.org>
Date:   Tue Aug 19 10:13:06 2014 -0400

    fixes "sleep" bug

    pretty major rewrite
    - moved everything into a JS object, making scope easier
    - using events and state to track where the timer is
    - using the server's seconds to instantiate a JS Date and then basing the events on that, rather than # of seconds

commit ebe5d0328582af4d1388450854b4a538c630ce77
Author: Russell Todd <russell.todd@northpoint.org>
Date:   Fri Aug 15 15:44:19 2014 -0400

    updates examples so they're not dependent on PHP

commit 46f7395b0556461a9d27472a3d310c97fe39f0a9
Author: Clay Powers <clay@plurt.com>
Date:   Thu Aug 14 08:50:21 2014 -0400

    concept