Add AJAX Call

Add AJAX Call to main.js