Mongojs support added.

Now the log is automatically saved in the database.