ts basic dynamic pattern, jquery stored locally