IE 11 parentElement fix