Changed js signoutText logic to fetch text from button instead of a tag.