A random story scrambler using JavaScript