correct image referencing in css and js files