Created the library and added a demo in test.html