The Sensr.net mobile webapp is a pure HTML5/Javascript webapp. It
uses Ajax.request to access data from the
sensr.net API.
The webapp lives at
http://sensr.net/touch/webapp
You can run it in a normal desktop browser, although touch access is
disabled.
Take a look at the source code. It's a good example of using the API
from Javascript.