Added support for taking filter name as input parameter.
Update reinvestCash.js

Updated to add error handling and removed comment.
Merge pull request #1 from git-hemant/master

Added support for taking filter name as input parameter.