js mod for `row`

Resolve #45