jquery terminal integration