added js fix for IE8