added some parts from dojo/query to enable re-declaring NodeList
parametrized url and collection