settings language autocomplete
Clean up javascript