This is an auth client written in JavaScript. It's perfect for using in your own website/HTML5 app.