Initial commit.
Add backend.
Changed "unload" ajax request to async.
Fix for firefox.
Work in progress.