ajax fixes for live data