Change key generation logic accordingly to latest Chrome WebCrypto changes