ReferenceError: window is not defined (line 154, file "Code")