Fix pbw helper JS