Update isepic-chess.js

restructured some vars