Needed to run some js once the player was ready so added a callback for it.