Tetris clone written in plain Javascript