update index with thanks to BitcoinJS devs Kyle Drake, Daniel Cousens, and Wei Lu