fix IE<=8 JS bugs caused by missing auto-extension of natives