Replaced deprecated html.query