added pin.js file for megan