Basic demonstration working (copied from jsFiddle).