add diff match patch js object
hack diff_match_patch around to avoid a bug when compiling java code via scalac
first pass at differential synchronisation using diff_match_patch