remove js logging code