A JavaScript library for controlling a HTML5 Web Workers chess engine