fixed the ready.js module