fix missing nullable column in js template