Update resize.js