improving server, mogoddb and adding js client