code: private StringBuffer loadScriptTemplate(String path) {
  		StringWriter sw = new StringWriter();
  
  		InputStream is = null;
  		try {
  			is = ClassLoaderResourceUtils.getResourceAsStream(path, this);
  			int i;
  			while ((i = is.read()) != -1) {
  				sw.write(i);
  			}
  
  		} catch (IOException e) {
  			Marker fatal = MarkerFactory.getMarker("FATAL");
  			LOGGER.error(fatal, "a serious error occurred when initializing ClientSideHandlerGeneratorImpl");
  			throw new BundlingProcessException("Classloading issues prevent loading the loader template to be loaded. ",
  					e);
  		} finally {
  			IOUtils.close(is);
  		}
  
  		return sw.getBuffer();
  	}
docs: Loads a template containing the functions which convert properties into
  methods.
  
  @return the script template