Update bookmarklet.js

Fix variable declarations