Added Javascript and AJAX