return js-y undefined instead of null