Stay compatible with IE < 9

Use jQuery.inArray instead...

Commit seems weird because old lines used "tab" instead of spaces before line...

Gauthier