web.js uses a function now