odoo connector: logger for export exceptions
javascript cleanup: avoid creating unnecessary globals