Move ajax request to Model collection definition.