Follow-up to Bukach's changes.
Fixed views AJAX rendering.