Replace old XPath code with jQuery equivalants.
Add family changes on fampages.