Adds more js files
Moves webserver logic to purcell.js.