changed web.js - added toString