2048 based on javascript