A branch comparing various js template approaches.