Create ajax.js

AJAX function, ready to go!