function getPublicKey() {
/* Check local storage for public key */
if (window.localStorage.getItem('public-key') === undefined) {
function getPublicKey() {
/* Check local storage for public key */
if (window.localStorage.getItem('public-key') === undefined) {