Support different ways to require jnoid.