basic modules in js