fixed the example error in HtmlHelper::media in fr and ja too

refer to the fix in pull request https://github.com/cakephp/docs/pull/572
Signed-off-by: Ayudh Das <ayudh.d@gmail.com>