Add behaviour to styleguide

This adds the pin-widget JS into the styleguide.