TBrowser is a project mainly written in JavaScript, it's free.
A cool tree browser widget for interacting with ontology and taxonomy structures
See
-taxonomy_browser_demo.html for setting up -taxonomy_browser_demo.js for a test usecase