refactor account.js(ajax send data)