Better handling of VideoJS init