Added YUIDoc javascript documentation

TODO: Create documentation tool better suited for prototypal rather than classical inheritance style