added port to url, fixed getElementsByTageName typo, get phone mac and model graceful failure