Javascript Create Array From Range