Large document comparison in JS

I am creating code that will compare two large documents to identify the changes. Are there any JavaScript libraries that will accomplish this or help me to do this?

Any guidance will be appreciated.