Javascript On Rails for REST client applications.