Update patch_window.js