删除多余的$(document)