Update utils.js

Do not return `null` for falsy but defined values