Removed dbconnect.js and replaced it with dbwrapper.js