paypro: split up paypro into node/browser/common.