Emberjs <script> wrappers break chosen search

Emberjs wraps bindable dom elements with script tag and chosen search regex seems unable to match html content with script in it.

I made a quick 'n dirty patch to make it work. Let me know if there's a smarter way to fix it.