$section in main.js is evaluated before its corresponding element exists in the DOM
As a result, the functionality associated with the would-be element never executes due a return statement that's guarded by a conditional which always evaluates to true:
As a result, the functionality associated with the would-be element never executes due a
return
statement that's guarded by a conditional which always evaluates totrue
:https://github.com/m-lab/mlab-speedtest/blob/4cb40a00cc59ad46f8c7c1912461614c2bdc40a7/app/assets/js/main.js#L93-L94