changes to web-app js file