Adding Leap Motion functionality and customization to an HTML canvas game