Update anchorQuery.js