I think this is a redundant module.
Please move this into nfc_connect_system_dialog.js
I will tell you where to go for each line.