on windows machines, extra_javascript & extra_css config variables were ...

...passing windows paths to templates instead of passing posix paths (as the templates expects).

If the doc was generated on windows, it would be broken on Firefox due to missing css & js files.