Modified code that inserts a last modified timestamp into asset file names so that only CSS and JS assets are affected, and so that the timestamp is only inserted into the file name once, just before the file extension.