add html5shiv, replace Array.indexOf with jQuery.inArray