Demo for "string.format for Javascript"

Read the article at http://joQuery.com/2012/string-format-for-javascript

HTML

<link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css">

	<div>
		<div id="description" class="stx_widgetDescription" >
		You can pass the following paramter in the url :<br/> activeFields (comma delimited), locale (default "en")
		</div>
		<div id="stx-newsletter" class="stx_widgetContainer" style="width:200px;"></div>
		<script type="text/javascript" src="https://s3.eu-central-1.amazonaws.com/pub.tnwi.sup2-s3.secutix.com/stx-widgets/Newsletter/v1/Newsletter.js"></script>
		<script type="text/javascript">
			STX.config({apiKey:"fb5b44a4-1997-481e-bceb-77c56ac1c4e9", hostname:"play.sup2-shop.secutix.com"});
			STX.widgets.Newsletter.render({props:{activeFields: ["civility","firstname","lastname"]}, locale: "es", root:"#stx-newsletter"});
		</script>
	</div>