ICEC makes uses of a number of different open source libraries that will be available on the pages that host your custom widgets. You may want to consider leveraging these libraries as you write your code.
Icon Graphics
Calendaring and Scheduling
DOM Query and Manipulation and additional plugins for printing, lazy loading of images, localization/
Image Galery
Element Rotation
CSS and Grid Framework