Should this line perhaps be ``var dashboard = ...``?