var PeriodString = 'per month'; var Extra = ''; jQuery.getJSON( "https://app.statuscake.com/Workfloor/PricesMain.php?Type=SUPERIOR&Yearly=1", function( data ) { if (data[0].VAT) { Extra = ' (+VAT)'; } jQuery('.SuperiorPricing').html(data[0].CurrencyCode + data[0].Cost + Extra); }); jQuery.getJSON( "https://app.statuscake.com/Workfloor/PricesMain.php?Type=BUSINESS&Yearly=1", function( data ) { if (data[0].VAT) { Extra = ' (+VAT)'; } jQuery('.BusinessPricing').html(data[0].CurrencyCode + data[0].Cost + Extra); }); jQuery('#yearly').text('Lose the Discount, View Monthly').attr('href','https://www.statuscake.com/pricing');