Fortune.js works like this:

test