Set JSX option and remove unused cruft.