Handle JsNull in option