Replace JSX template to a separate file.