Because Exports is undefined in Rhino. 

I don't know in Nashorn. 

I didn't know that we were maintaining dust compatible with it.