Fixed issue with multiple subscriptions (no test yet): functions were defined as global, not as local (var)
Version bump: 0.1.1