LeapJS Alpha Release

Moved common functions to utilities.js