Refactoring of some html attributes.
Made the player a singleton.