use RESTFullYii and RequireJS