made replace use jquery selector