Adding the old function in a file

In a .txt to avoid confusion with the script.
Contains the function used to execute storeValues() in the callback, but
not in the script because the object TrainOverview from guerretribale is
not accessible with an userscript.