Tp fix all javascript

Is log needed?