Documentation of Javascript code in DHTML Chess