fix(js/main.js): no https redirect for localhost