Javascript proof-of-concept implementation of Shamir's secret sharing scheme