Use getAttribute instead of dataset (IE9 compat)