organize code with requireJS