Fix bug with vjs 4.9. Fixes #16.