Added more documentation

Went across different reference material documentation and tried to make ansi.js and csi.js consistent in documentation.

Where needed indicated extra work for implementation.