#243 a few fixes for the hreflang

Changed 'jp' to 'ja' for the Japanese language.
Check if there's no extra slash in URL and strip it if there is one.