modular javascript project