Create onElementResize.js