Fixed renaming of `media` to `assets` for browser distribution