pass binding to Ruby2JS