Clean up useless log config
Clean up js file