add patch js