update gen_keys.js script to jwcrypto 0.4.3