CRM 2011 JS: Refresh ribbon

//This is how to refresh current entity ribbon

Refresh ribbon
Xrm.Page.ui.refreshRibbon()