Cobble together mess to handle JSX files