Updated web.js
use content from external file