fixed the issue with the usage of intro.js with require by making some changes into intro.js and saving it into scripts/intro.js