clean jquery functions