Detect copypasta in javascript