added documentation for Player.js and tests for Sources.js

Also, tweaked the panner example.