JavaScript beta simulator