Fix adiary.js bugs.
Add: Automatic update system.