Added ability to render views in the main.js