fixed cal index.html storing li elements into an array