Use DomHelper.prototype.insertInto instead of document.head, which is not available in older browsers.
IE <= 8 returns empty string on optional capturing groups instead of null.
Do not use Array.prototype.indexOf in the tests.
Add missing semicolon.
Merge pull request #101 from typekit/bs-fix-tests

Fix unit tests