set up partials and ajax to render them