Regorganized js lib
Reorganized APIs
Revamped UI
Further enhanced UI. Added trash button, upload image button.