Update pathways.js

Able to bring in user-submitted value.