Update pk-base.js