simple 2048 game in JS