javascript implementations of ndnr, ndngetfile, and ndnputfile, using indexedDB in the browser