Update responsive.js to use document rather than screen width & height.