Changed back to deprecated form of web.js