Add resources to jQuery AJAX