Write basic JavaScript proxy.