Few components on one webpage

I have a dilemma about putting few components on one webpage.

For example when I need to put tabbar and calendar component.

I need to include common.js, but …

common.js for calendar is 15KB

common.js for tabbar is 19KB

So question is: Which common.js include ??

If you are using different version of components - use dhtmlxcommon.js from latest version ( they are backward compatible )
In case of same version of components - dhtmlxcommon.js must be equal in all packages.