copy js modified