Use getAttribute not dataset for IE10 support