Filter the admin script data. When using this filter, ensure that the data is added only if it is used by some script. This filter may be called on almost every admin page load. So, one should check if the data is needed/used on that page. For example, the social (publicize) data is used only on Social admin page, Jetpack settings page and the post editor. So, the social data should be added only on those pages.
jetpack_admin_js_script_data
jetpack_admin_js_script_data