Fix validate.js
+dbManager, fix setData, fix Servlet