fixed dashboard test to work with sample dashboard, not reportcard
Only add DOM-related underscore extensions if we're in the browser.
Merge remote-tracking branch 'dsc/develop' into develop