code: protected Reader doCreateScript(Properties props) {
  		BundleStringJsonifier bsj = new BundleStringJsonifier(props, addQuoteToMessageKey);
  		String script = template.toString();
  		String messages = bsj.serializeBundles().toString();
  		script = script.replaceFirst("@namespace", RegexUtil.adaptReplacementToMatcher(namespace));
  		script = script.replaceFirst("@messages", RegexUtil.adaptReplacementToMatcher(messages));
  
  		return new StringReader(script);
  	}
docs: Returns the JS script from the message properties
  
  @param props
  the message properties
  @return the JS script from the message properties