change some style and delete <div>num</div>
improvment
receiver js number and return corresponding array