change text in span tag using jquery
$('.in-stock span').html("your new string");
javascript coin flip
php array to javascript array