updates resize.js