Use preamble instead of HTML for React