render partials and ajax requests