max was converted to zero based twice. Removed -1 in the switch up call that prevented the stream from switching to the highest index.
Integrated support for grunt jsdocs and added stubbed docs and examples to media player and debug class for a start.
change JSDocs dir name to lowercase to match project and added info into README.md for nom install for grunt-jsdoc-pluing
clean up of jsdocs
fix unparseable package.json
Adding more docs to api and modifying namespace for debug to full path.