avoid an extra closure when not needed (review!)

i'm submitting the same closure-removal again, please consider again this change, i think it is really bloated and unnecessary to have a closure-inside-closure here, plus you already have a closure-global in widget.js line 28, check it out!! I see no reason to allow it there and not here.