Removed println from ajax detection