Javascript Fill Array With Increasing Numbers