I used some vanilla JS and closures to build out some of the basic functionality of Jquery.