Minified and reformatted per JS style guide (https://github.com/airbnb/javascript#functions) recommendations