I have used this code because I want to open templates in javascript on the client browser. I did not know there was a plugin that did the same function. At the beginning, I did not focus exclusively on the development edX. As I said before, this catch.js component belongs to another project.