change script/css remapping because web inspector gets horribly confused by a file and folder having the same name
popover improvements