externalize css and scripts from view