The function wp_localize_script( $handle, $name, $data );
does not work when trying to overwrite the same variable, that is when calling the function second time with the same $handle and $name but with other $data value.
How can this problem be solved?