Minor bug fix for mapping process

When assigning a value to a field failed and this field contained spaces
the importing process would froze due to a javascript error that raised.
When replacing the spaces in the field name with underscores the error
is fixed.