bookmarklet: fix conditional