Try javascript through rails.