Making the bookmarklet work on Firefox

The entire script was returning an Object. This was an issue when we create bookmarklet with firefox. Better way to handle it is to assign it to a variable so that the page isn't rendered with plain `[object Object]`