Stay compatible with IE < 9

Array.indexOf is not available in IE < 9, use jQuery.inArray instead...

Please merge ;-)

Gauthier