utils.lang.js.sx: Use direct comparison with undefined instead of type name comparison
utils.lang.js.sx: Use direct comparison with undefined instead of type name comparison

X-Redmine-Id: #17

edgedb/edgedb,edgedb/edgedb,edgedb/edgedb