Changes parameters to be more generic

This changes the ```flow.js``` parameters to more generic ones by dropping the ```flow``` prefix.