Disable javascript for disabled plugins

The option to enable it is still available in the admin interface - that doesn’t need any JavaScript :slight_smile: