using jquery to relace DOM