A simple javascript oauth client for https://github.com/craigedmunds/rails-api