in webvtt_create_node, since it returns webvtt_status, should probably validate the parameters it receives and return WEBVTT_INVALID_PARAM if they won't work (not doing this will cause segfaults, which may make debugging easier)