update pathing from absolute to relative on css and js