Just make JS a global anywhere that exports does not exist.