using external static files

by modifying web.js