support jsx file using javascript rule