update main.js with the new namespace