AMD style of js-modules