CRM 2011 JS: Get data in fields that have changed on form using

This is how to get only changed data

Get changed data 
Xrm.Page.data.entity.getDataXml()