Mod: return database retcode.
Add: Include the sha1.min.js file