Fixes. TODO onclick in js; template there.