Tp fix all javascript

Logs are not supposed to be in production code.