move resize.js to end of body