jquery replace text in variable