add js setting and tab depending on language