Fixed bug that prevented loading of css and js.

The bug was because of leading slashs in the path.