replaced java html modification with jquery