Avoid errors if `ui.browserscope.js` is not included
Use more Lo-Dash functions