fix js for subscriber