Attach 'onpeerready' event handler in nfc_main