Change generating random ID-s to have less digits. Too many digits caused JS to round the IDs

See: #15