Fixed JS variables for pubid.