Add static json for media; close #28.
Check for typeahead before recreating; close #30.