Simple JavaScript code organization with modules