Hey gang,
Whipped up a small helper library (less than 800 bytes minified) to detect a browsers support for websockets, and if available, then detect if a Leap is hooked up, if so lets you know, and loads the LeapJS lib for you dynamically. Put this together so I could leverage the devices and LeapJS efficiently in low bandwidth/small footprint situations like advertisements, etc. You can snag it here:
https://github.com/rmhall/LeapMotionDetect
Have at it!
Rob