Update datastore.js

new params for encryption