Changed from JSON response to HTML fragment