Fix coffeescript assertions