I want to use ES6 Proxy for the alert function and when I refer it using a variable when constructing the proxy the alert has no effect at all.