Replaced leapjs with personal library