bootstrap template dependency fix, remove window.app