Initial Coffeescript implementation based on prior work.
Add rivets library to docs theme.