Tp fix all javascript

Remove whitespace in this file. Is the log necessary or for debugging?