remove unused ajax controller code and make corrections for changes elsewhere. closes #175