FIX: javascript error for IE8 and less