Fixes javascript 404 errors