wrapAll() around HTML that contains script tags executes referenced JavaScript twice

wrapAll() around HTML that contains script tags executes referenced JavaScript twice

Test case:  http://jsbin.com/ujico3

I can't see how this could possibly be the intended behavior. I was able to fix this for myself by filtering out script tags [using . not('script')] before calling . wrapAll(...), but it took me about a week to hunt down the root cause of why some of my JavaScript was executed twice.