//split string into an array and grab the first item var streetaddress = addy.split(',')[0];
var streetaddress = addy.split(',')[0];