tunacan.js : board init refactoring