move to requirejs
need a main app js file