Started editing the javascript to account for new tiles

.value is the reference to the value of the tile. This was previously a
number. I changed it to a string. That will inevitably screw up
everything. Please make it work again