change 'src' to 'scripts' when calling jsdom