add javascripts for IE8 compatibility