Removing ajax.

Ajax calls didn't work as expected. Rolling back.