Mjt is an open source HTML templating engine that’s written in JavaScript and runs entirely within a browser--no server support needed. It was created to access data from Freebase, but you can use it with other web services as well.
This article—a Shortcut by O’Reilly--provides an introductory tutorial for using mjt with Freebase, and it includes reference material, too.

