format manage.js