js to JavaScript (trying user.email)