Base LeapJS class and sketch