refactored ajax call to rest call
used local json data to fill model for displaying title