views js and footer in baseView(template)