Apply DeftJs Framework https://github.com/deftjs/DeftJS
Fix can't login on firefox.