remove log message from js