organized function setJQuery