Adding jQuery AJAX to application