revert Rivets back to 0.5.13, update formsdeps.min.js, add unit tests