fixed errors in DatabaseApp.js tables