localized html5.js and add a flash effect to changing languages