Added ajax response on views with help from erlinger - thanks