Cleanup UI by not rendering components for empty data sets
Fixed jquery page refresh issue