Listen for the "text-resize.wb", "window-resize-width.wb" and "window-resize-height.wb" events instead of the "resize" event. These new events are normalized and also include support for text size changes and zooming. Also note that you should be checking for those events on the document object without a selector.