[TIMOB-15630] Added missing copyResources hooks when JavaScript files are being copied.
Merge pull request #4964 from cb1kenobi/timob-15630

[TIMOB-15630] Added missing copyResources hooks when JavaScript files are being copied.