Some javascript changes for signup/signin forms