Better requirejs compatibiliy