Remove slightly buggy code looking forward to improved spinner.
Refactor jail sync to deep copy options and correctly handle JSONP for stable caching.
remove unused mock function