moving to requirejs model