javascript fix in representation/show.jsp