Leap Javascript library