Fixed JS errors on join outing.