import_data_plugin: Fix bugs on javascript and options_for_select

(ActionItem2745)

Signed_off_by: Carlos Andre <carlos.andre.souza@msn.com>
Signed_off_by: Luiz Matos <luizff.matos@gmail.com>
Signed_off_by: Gabriela Navarro <navarro1703@gmail.com>