fix a require bug in static.js