Authored client/pipe.js and pipe.js (server side)