The OpenPTK IdentityCentral sample application leverages AJAX to communicate with the RESTful Web Service.
The video clip provides a summary of how the IdentityCentral application could be used:
youtube link