fixed bug in lang.js, if the browser lang is not supported