Lighten the JS load

- Only load edit-specific JS deps on edit page
- Don't bind edit-specific JS events on non-edit page