added cdb-base6.js for JSON upload