remove js from core bundles and move it to template bundle