Added sample pad.js