prepare jquery terminal