WooCommerce Dynamic Pricing & Discounts this plugin was the reason for that script which was displayed on the product page.