Add baseurl properly to all elements that require it