Js api docs

the js api docs update, that adds a player api page with complete listing of events and api methods