Added support for using leap.js
added example index