fix javascript patch path