Added workaround for managed_file and media elements AJAX issues.