accounting.js for Rails3