fix bugs in IE 8+
Merge branch 'master' of ssh://github.com/friisxy/NB