Extended support for expiry with custom deamon.

Because various mongoDB service don't seem to support the ttl feature
correctly, a custom deamon has been implemented.
Fix for issue #8, Firefox properly supported.

event.preventDefault() wasn't properly handled.