beautify sameple codes
Merge pull request #177 from poying/samples-pipe

beautify sample/pipe.js