Fix auto-refresh is not working on dynamic dashboard. Try to remove JS and CSS which are not needed on dashboard