java script work for getting account info