Main JS library and page edit working