Accessing media info from JavaScript

External references:

Debug output will appear here