log the language; remove useless javascript console logging