Javascript: Responsive Throttle Resizing