Heads up! The reason I got this bug in the first place was because I was creating a Chrome extension and had “developer mode” on. After I turned it off, everything went back to normal in all my plugins.
I guess developer mode autobreaks JavaScript as a security measure?