Fixing doxxing

Updated the dox.js task to work as intended. You might want to clean up some code, but it gets the job done. Further on, we've to find a way for the windows bash command `type` to pass strings to  `dox-foundation`