Document object queries with javascript and css syntax