A random string generator with configurable options using JavaScript