Revert "remove dependency of JQuery and fix some error with text item"

This reverts commit da3c77ae30b66167e189e676950abe19e1b065d6.