replaced div id with tr id, fixed js errors