added an example of JavaScript proxy pattern