Fix #14459: Use jQuery.parseJSON instead of JSON.parse
No ticket. Remove useless comment
Fix #14379: AJAX requests on unload
No ticket: Small ajax/xhr size optimizations