some example front end JS from my private swimsolo repo