js update: dynamic creating ads list from array