Restore at least closure around index.js

I am not sure that removing the build step was the right idea. With this tep, player-api could be used as a common JS module or AMD module.

But even if you want to go back to 90's, let's at least export single variable into global object.