Fixes the broken assets and javascript linking.