js-beautify the code
process TOS accept logins