begin to use requirejs to manage modules