Added example Ajax to main.js