improved js/on biometric pie