Very simple coffee script and JS base.  Refer to as sample.