Stuff with 2048 in Javascript