kalua: www: add a helper for doing 'apply_profile' via a simple webinterface 2/2