Fix for switcher error messages
Created by: ubald
This was working by a miracle. self
happens to be defined somewhere and is equal to window
and there is a scenic
variable on window
so this ended up working. But I switched it to use this, as we are not the ones who defined self
in that context... maybe webpack/babel is to blame...