move view-specific js files to their views, fix dashboard route / controller, update dashboard edit-doc styling, add browser plugin for jquery (missing 1.9 and after)