Update pathways.js

Better  define objects and link interactions to molecule names.