[minor] Instruct the pipe.js to automatically remove DOM elements for unauthorized pagelets.
[ocd] Rewrite the resource interface to a Object.create pattern