a simple solution for modular js applications