It may be that the space in the title is not being url encoded correctly. Try using encodeURIComponent()
to solve this.
var link = '@Url.Action("accountPartial", "BillingProfile")?ln=' + ln + '&profileID=' + profileID + '&title=' + encodeURIComponent(title) + '&active=' + active;
Just an idea. Can't be sure.