Bug fixes to bookmarklet and pin-form