Switching to quoted keys for window.flags