First attempt of modular javascript.