What if you cache options.default_lang here since your using it so much. I.e. `var defltLang = options.default_lang ... do stuff`.