added preliminary ie8 support