Adding ajax.js and starting to integrate