Update bookmarklet handling of canonical urls.