edit center.js