Modular javascript build tool