Use JS for templating.