Algorithmically equivalent but more Javascripty version of the Washington $1 Unistroke Regognizer