loading of the player moved to index.html
corrections to player JavaScript