cleaned up old web.js