Removing unneeded text from JS UA display