adjusted js for subscriptions/add