move script element below its dependencies
built pathvisiojs and updated production.html so it works