changed relative resource paths to absolute ones and replaced some for cdn versions