Adds AJAX-calls and functions