thank you for this one as well.
I managed to find a solution, by using php files instead of htmls, and setting expired headers and no cache rules on it.
your solution looks a bit nicer to me
, but what if I change something in the source codes, and i have to overwrite my changes, when you update the .js file ?