Web app for vector calculations -- dump of my web code