change the way js partials are rendered