changed maintenance.js and took out debug statements