replace jquery to document