Basic outline for the JS library