Use jQuery 1.10
Use jQuery array methods for IE8 compatibility