A 100% Javascript code, to have fun with chess. (The code has bugs, and not fully ready)