edx/edx-platform — pull request #5541 by wedaly (2014-10-10 12:55:59+00:00)
Title: Dashboard template cleanup

Move JavaScript from dashboard template into its own module
Make HTML comments Mako comments

This reduced the size of the rendered template from 25KB to 20KB (20% decrease in size).

I tested:
* Notification focus
* Upgrade to verified messaging, including analytics events
* Verification failure notification
* Email settings
* Unenroll
* Password reset
* Change language
* Change email
* Translation strings are being properly extracted.

@dianakhuang @AlasdairSwan please review.

[ECOM-448](https://openedx.atlassian.net/browse/ECOM-448)