Nest scss statments using direct descendent selectors. Update media queries to apply styles on screen, and not for print media.
Wrap at 80 chars. Simplify sort and mmi functions. Change _sortByDistance and _translateMmi to static functions. Fix whitespace issues. Change parseInt to parseFloat for cid, dist, lat, and lon.
fixed whitespace on for loop
Add global define. Change double quotes to single quotes.
Add global define.
Remove _setContent test, it was the same as getContent. Use dispatchEvent instead of button.click().