Bookmarklet function wrap

add anonymous function() wrap for javascript bookmarklet so it works in firefox