populates dependency files in js/libs