Add javascript templating
Actually add the templates