tried to clean up prepares, failed
general ajax framework. major ajax.js cleanup