image paths set to relative, now using jquery for dom manipulation