moving the browser lang wrapper to langs.js