Trim the data in building the select from dataUrl. This causes error in 1.9 if data contain empty lines