bugioc is an inversion of control library for Javascript