No decent implementation of the twitter API exists in js. Sorry. Had to say it. If you're developing a js/xhtml application under the air environment, you may be interested in using our js wrapper for the API. We will be open sourcing it after our release. Let me know.