Fixes JS and CSS loading.