My customer uses IE 8 which doesn´t have several array methods that newer browsers have. The application have to work in others browsers too (chrome and FF).
In order to be able to program with those array methods in IE 8, I included the ‘Array prototype extensions’ library (part of the js-methods project) which works perfectly for us.
Given I really don´t know all the differences between the IE 8 javascript version and the IE 9/10 version, I would like to know if i have better options. I mean, other libraries to ‘upgrade’ the javascript.
I don’t think there’s anything wrong with the way you’re doing it now. This is exactly what the js-methods project was designed for.