If JavaScript sends empty string as the language parameter when re-ordering, use language from the plugin