fixing a JS crash with a nullable production rule