Update dynamic_proxy.js

adding logs