made css/js resources relative to root