automatic redering of ajax version via header