Unique Order Id Generator Javascript