A light-weight javascript modular framework supporting browser and node.js