Remove unnecessary callback code.
Create checkReady  convenience function.

I've also added the check for the ready state to a few
other functions that need it.
Reorganize node-vtt file.