Fixed IE 8 and dist build.