Revert the ajax option it would be better as a seperate adapter