first prototype for the Javascript with AJAX files