Updates the URLs for existing script (JS) and link (CSS) elements in an HTML template with URLs generated by Webpack