Core: Drop workarounds for unsupported browsers

One test could be dropped. There is also a `detectDuplicates` one that claims is for Chrome before version 14 but even in current Chrome this test returns `false` (`true` in other browsers). What's going on here?

cc @gibson042
Actually, it works because in both cases where `getElementsByClassName` is used there's a check if it exists.