Jquery generate extra code in wordpress

Code var google_ad_client = this.title; google_ad_client = google_ad_client+”‘;”; google_ad_client = “<script type=’text/javascript>google_ad_client =”” +google_ad_client+”</”+”script>”; jQuery(‘#addSpace’).html(google_ad_client); Output: <script type=”text/javascript>google_ad_client =&quot;ca-pub-1702577941194110″ ;<=””…