Languages#index/view JS improved