Land MediaContent API JavaScript code

Jira Issue: WP-1133