Connect Four game in Javascript using HTML5 features