initialize on web.js