moved jquery functions to base.js and fixed bugs
backoffice with last 24 hours activity