Generic AjaxSnapshots adapter for NodeJS