Why not just a JS API for this? I just cannot see the full application for this app. It is interesting but the work required to get that info by using JS and just plot it is not that high.
You could also request the http info and simply show that to a person on a page. In rails it would be as simple as calling 'request.user_agent' and printing that value on screen.