add memory db
jshint