added matches.js sample
merge