renaming templating.js to main.js