Playing with matches, the implementation javaScript