Stripping out most Ajax functionality