shared-js with rempved templates