Import Media in Importer without updating Notes

I store my JavaScript files with functions I call from card templates in collection.media folder to avoid code duplication and to use an external code development environment. Does it mean when I published and later re-published my decks the users who downloaded my decks and later downloaded the updated versions never got updated versions of the code? If yes, what is the solution for me? Should I rename of my files on every update?