Create JS structure using modules without AMD