IE 8 compatibility fix #76