Initial local commit: add simplified dom-query function