change to relative URL; remove HTML5 locations, cleanup views