fixes in the pretty print of ajax content and the spinner image