With wiserespond you can easily setup your controllers to respond to :html and :js content types.
None
Igor Alexandrov