Make password not required (in js)