Added recpubkey generating function to address.js.