Functions called with setTimeout doesn't receive parameters in Internet Explorer