Updated utils.nodeText() to not break on empty tags