Bookmarklet boilerplate