Fixed possible 404s on CSS and JavaScript, fixes side effect of #809