A JavaScript implementation of The Resistance card game