function renderBuilder(id, options, layout, mode) {
  ReactDOM.render(
    <Builder
      options={JSON.parse(decodeURIComponent(options))}
      layout={JSON.parse(decodeURIComponent(layout))}
      mode={mode}
    />,
    document.getElementById(id)
  );
}
@param {object} id 
@param {object} options 
@param {object} layout 
@param {string} mode