added documentation for jarjar function
removed unused main.js
added documentation for 'toString' function