implement publicUrl from carteroJson
comment for regex and spacing
move replacement of css and js path up
remove comments
use carteroJson.publicUrl since we make sure that PublicUrl always start with /
Merge pull request #8 from pepoviola/master

use carteroJson.publicUrl since we make sure that PublicUrl always start with / in cartero