fix for language naming in main_page
deprecate the custom js files