Logs and solution
Can temporize turns
Clean js code