Update the example to use library changes

Note - I did not write this, it was copied from http://js.leapmotion.com/examples/dom-visualizer.html