Changed how the details are shown using jquery