add loacal support js for comment