can't work with js in static web