Slower, but detects jsx directive anywhere in file