window: Mention the name of the global/property that isn't implemented in the error message

I just had a debugging session where I couldn't figure out which `window` property wasn't implemented because I just got `NOT IMPLEMENTED` and no usable stack trace. This patch helped me track it down -- turns the culprit was `window.alert` :)