Fix a missing var
Optimize cloning boards
Use native map instead of jQuery.map
Merge branch 'improve-performance'