Amended Scenarios.js to fix the built issue