Mucking about with leapjs