js for rendering partial views