started javascript coding
made arrays and enabled cycle