Get and replace dependencies of JS, CSS, and HTML files