numbering with javascript