Updated res.js to 1.1

res.js now dispatches a "stateChange" event on window.resize().