Fixed a memory leak in nfcrypto.js

Anything that would call a crypto method will never be garbage
collected.