Add js functions to manage entries
Add js functions to manage threads
Fix minor bugs
Show all threads
Insert and show entries