CADjs is a Javascript-based CAD programming environment. CADjs was originally developed Dr. Krishnan Suresh's Engineering Representations and Simulation Lab at the University of Wisconsin-Madison. The code is being open-sourced and archived here by Open Engineering.
A demo site is available here: https://ersl.wisc.edu/software/CADjs/CADjsFiles/CADjs.html