Try this.
Note: haven't tested but hope this works :)
$("#Button1").click(function () {
var str="12";
if ($('#additionalStyles').length)
{
$('#additionalStyles').remove();
}
else
{
$('head').append("<style id='additionalStyles'>.noti_bubble:before{color: yellow; content:'"+str+"''';}</style>");
}
});