reorder document-ready.js