Adding jquery functions