Fixed "Unsupported input language" scenario

Tested on my machine, it now works on both Firefox and Chrome. 

Change-Id: I8c810b355ed1407307b57699f8427f487ab1a08a