Bug 1033695: nfc_utils.js cleanup