changed ajax process to render all on client side