pulled from upstream these new changes.
Fixed 2 bugs: one in CCNum firefox, another in togglecontinueButton