A JavaScript library for cognitive scaling functions including Prospect Theory, Power Law, and Weber-Fechner Law