add new component - jquery-ui and adjust the usage of jquery in editor