modify respond.js to bofore body end