Fixed SSL certs config issue, added redirection to https, fixed a JS bug "localstorage" instead of "localStorage"