move contents of ready.js to custom.js