fixing bookmarklet template