Flower Password in Javascript