Added loader view (also added option to pass loader to xCharts and NVD3 charts)