Updated error JS callback to return formatted address.