Added JSDOC info for all core and widget files. Added XHR2 wrapper