make image paths releative in css and js