Remove debug statememts javascript