If you want the browser to read JSX, then that JSX file should be replaced using a JSX transformer like Babel and then send back to the browser.