update to namespace.js pages.js and main template