From https://github.com/roboleary/LeapTrainer.js#usage