Javascript Create Array From Number