Fix on load handler AJAX call.