Code inside {% javascript %} always show the previous version

Thanks for your reply. That is not very correct on many occasions. If we are dealing with a section that is used in different places, you may be loading the same JS several times. That’s what{% javascript %} avoids and that’s why I was trying to use it in this case.