Armstrong Number In Javascript Using For Loop