Modifying the web.js for external access
hw4 part 1