added check for empty arrays
removed $.browser
Added log method
Namespace the initialised plugins under the player Id