Node HTML5 canvas game