Refactored web.js, added alerts to web-app