Fixed constructor call for IE (still working with the rest of the browsers)